//
//  ZNTabBar.h
//  ZNTabBarController
//
//  Created by Sniper on 15/12/23.
//  Copyright © 2015年 Sniper. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZNTabBarItem.h"

@class ZNTabBar;

@protocol ZNTabBarDelegate <NSObject>

@optional
- (void)tabbar:(ZNTabBar *)tabbar didSelectItemAtIndex:(NSInteger)index;

@end

@interface ZNTabBar : UIView

@property (nonatomic, weak)id<ZNTabBarDelegate> delegate;
@property (nonatomic, copy)NSArray *itemsArray;
@property (nonatomic, strong)UIImageView *backgroundView;
@property (nonatomic, weak)ZNTabBarItem *selectedItem;


@end
